package org.summerframework.component.upload.util;

import org.apache.commons.lang3.StringUtils;

/**
 * AudioUploadFile
 *
 * @author YeKaiQiang
 * @date 2016/6/27
 */
public class AudioUploadFile extends UploadFile {
    private String title;

    private String singer;

    private String album;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        if(StringUtils.isNotBlank(title)){
            title = title.replace("\\u0","");
        }

        this.title = title;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        if(StringUtils.isNotBlank(singer)){
            singer = singer.replace("\\u0","");
        }
        this.singer = singer;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }
}
